# $Id$
# Contributor: Jan de Groot <jgc@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=xorg-xfontsel
pkgver=1.0.5
pkgrel=1
pkgdesc='Point and click selection of X11 font names'
url='http://xorg.freedesktop.org/'
arch=('i686' 'x86_64')
license=('custom')
makedepends=('xorg-util-macros')
depends=('libxaw' 'libxmu' 'libxt' 'libx11')
source=("http://xorg.freedesktop.org/archive/individual/app/xfontsel-${pkgver}.tar.bz2")
sha1sums=('fbd8fa8a1c87d8da2e71def964e97bca1d4c4adf')

build() {
	cd "${srcdir}/xfontsel-${pkgver}"
	./configure --prefix=/usr
	make
}

package() {
	cd "${srcdir}/xfontsel-${pkgver}"
	make DESTDIR="${pkgdir}" install
	install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
